package com.huibei.wateradmin.order.feignclient;

import com.huibei.wateradmin.common.message.PageDto;
import com.huibei.wateradmin.common.message.ReqAdminListMsg;
import com.huibei.wateradmin.merchant.message.ReqShopOrderMsg;
import com.huibei.wateradmin.order.message.model.AdminShopOrderModel;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

//@FeignClient(name = "orderFeignClient", url = "http://123.57.8.133:9931/huibeiwater")
@FeignClient(name = "orderFeignClient", url = "http://127.0.0.1:9931/huibeiwater")
public interface OrderFeignClient {

    @RequestMapping(value = "/admin/order/list",method = RequestMethod.POST)
    PageDto<AdminShopOrderModel> getAllOrders(ReqShopOrderMsg msg);

}
